package com.lw.test.dao;

import com.lw.test.entity.UserInfo;
import org.springframework.data.repository.CrudRepository;

/**
 * JPA repository
 *
 * @author YiFeiXi
 */
public interface UserRepository extends CrudRepository<UserInfo, String> {
  UserInfo findByFirstName(String firstName);
}
